package com.tanhua.dubbo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.domain.mongo.Result;
import org.apache.ibatis.annotations.Select;

public interface ResultMapper extends BaseMapper<Result> {

    @Select("SELECT * FROM tb_result WHERE startscore <= #{score} AND endscore >#{score}")
    Result selectScore(Integer score);
}
